<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page import="java.util.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>特产展示页面</title>
<style type="text/css">
.show {
	float: left;
	width: 720px;
	height: auto;
	border: 1px solid #D9D9D9;
	margin-top:50px;
	margin-left:300px;
	line-height: 26px;
	font-size: 17px;
	word-wrap: break-word;
	min-height:570px;
}
#footer {
top:20px
	line-height: 40px;
	position: fixed;
	bottom: 0;
	width: 100%;
	text-align: center;
	font-family: Arial;
	font-size: 16px;
	letter-spacing: 1px;
}
</style>
</head>
<body>
	<div class="show"><br>
	<span style="margin-left:300px;font-size:26px">
		<font color="#000000">结果如下</font>
	</span>
	<br>
	<c:forEach var="product" items="${requestScope.list}" varStatus="status">
		<span style="font-size:20px">
			<font color="#000000">
			<c:if test="${product!=null}">
				<c:out value="${status.count}"/>、
			</c:if>
			<c:out value="${product.name}"/>
			</font>
		</span>
		<br>
		&nbsp;
		&nbsp;
		<c:out value="${product.diec}"/>
		<br>
		<br>
		<c:forEach var="photo" items="${product.photos}" varStatus="status">
			<img alt="" src="<c:out value='${pageContext.request.contextPath}/' /><c:out value='${photo.picture}'/>" style="height:220px;width:170px">
		</c:forEach>
		<br>
		<br>
	</c:forEach>
	<br>  
	<br>                                        
	</div>
	<div id="footer">Copyright © 2017 </div>
</body>
</html>